<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!doctype html>
<!--[if lt IE 7 ]> <html class="ie6 lazy " lang="en"> <![endif]-->
<!--[if IE 7 ]>    <html class="ie7 lazy " lang="en"> <![endif]-->
<!--[if IE 8 ]>    <html class="ie8 lazy " lang="en"> <![endif]-->
<!--[if IE 9 ]>    <html class="ie9 lazy " lang="en"> <![endif]-->
<html>
<head>
<meta charset="UTF-8">
<title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
<link href="<?php echo CSS_PATH;?>common.css" rel="stylesheet" >
<link href="<?php echo CSS_PATH;?>other.css" rel="stylesheet" >
<script type="text/javascript" src="<?php echo JS_PATH;?>jquery.sgallery.js"></script>
<script language="JavaScript" src="<?php echo APP_PATH;?>api.php?op=count&id=<?php echo $id;?>&modelid=<?php echo $modelid;?>"></script>
</head>

<body>
<header>
<div id="header" class="w1000 mc">
   <div class="logo_txt fl">
      <a href="#"><img src="<?php echo IMG_PATH;?>list_logo.png"></a>
   </div>
   <div class="header_l fr">
      <div class="language fr">
         <a class="cn fl" href="http://localhost:888/install_package/" title="中文版">中文</a>
         <a class="en fr" href="http://localhost:888/install_package/index.php?m=content&c=index&a=lists&catid=114#" title="ENGLISH">ENGLISH</a>
         <div class="clear"></div>
      </div>
      <div class="clear"></div>
      <div class="search index_border">
      <form action="<?php echo APP_PATH;?>index.php" method="get" target="_blank">
        <input type="hidden" name="m" value="search"/>
        <input type="hidden" name="c" value="index"/>
        <input type="hidden" name="a" value="init"/>
        <input type="hidden" name="typeid" value="<?php echo $typeid;?>" id="typeid"/>
        <input type="hidden" name="siteid" value="<?php echo $siteid;?>" id="siteid"/>
         <input name="q" id="q" class="search_input fl" type="text">
         <input class="search_btn fr" type="submit" value="" class="button">
         <div class="clear"></div>
      </form>
      </div>
   </div>
   <div class="clear"></div>
</div>
</header>

<nav>
<div id="nav" class="w100p">
   <ul class="nav w1000 mc">
   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b43f1459ac702900c8d44c91a5e796dd&action=category&catid=0&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>

    <li><a href="<?php echo siteurl($siteid);?>"><span>首页</span></a></li>
    <?php $n=1; if(is_array($data)) foreach($data AS $k => $v) { ?>

    <li><a href="<?php echo $v['url'];?>"><?php echo $v['catname'];?>
    </a>

    <ul>
    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=f90c26483c17bf0b2e5b6e7ae85c5f81&action=category&catid=%24k&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>$k,'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
    <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
    <li><a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></li>
    <?php $n++;}unset($n); ?>
    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>


      <div class="clear"></div>
   </ul></li>
    <?php $n++;}unset($n); ?>
    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
   </ul>
</div>
</nav>